/*
 * TestNotFailed.java  0.4.0 / Oct 25, 2010
 *
 * Copyright (c) 2010 - 2011, cute4j.com and contributors.
 *
 * This software is licensed under the LGPL version 2.1 license.
 * A copy of this license is included in the file LICENSE-LGPL.txt.
 */
package com.cute4j.nunit;

import java.io.PrintStream;

import junit.framework.AssertionFailedError;

/**
 * Test Not Failed Assertion Error.
 *
 * @author Slobodan Vrkacevic
 * @version 0.4.0
 */
public class TestNotFailed extends AssertionFailedError {

// Private Static Final Field. -------------------------------------------------

  private static final long serialVersionUID = -7173755307911918680L;

// Public Constructor. ---------------------------------------------------------

  /**
   * Constructs new TestNotFailed object.
   */
  public TestNotFailed() {
    super("Test not failed");
  }

// Overridden Method. ----------------------------------------------------------

  /**
   * {@inheritDoc}
   */
  public void printStackTrace(PrintStream s) {
    s.println(getMessage());
  }

}
